package com.wanxi.service.front;

import com.wanxi.domain.front.NewsModel;
import com.wanxi.domain.front.TypeModel;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public interface TypeService {


    //通过id删除产品信息
    int deleteByid(int id);

    List<TypeModel> findAll(Integer page, Integer limit);

    int insert(TypeModel typeModel);
}
